﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MessageSystem.Managed.Infrastructure;

namespace MessageSystem.Managed.Interface
{
    public interface IMessage
    {
        Int32   MessageId { get; }                
        UInt16  Flags{get;set;}
        Int32   Sessionid{get;set;}
        Int32   OpCode{get; set;}

        void Read(NetStream stream);

        void Write(NetStream stream);
    }
}
